package ventanas;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class AltaDeposito extends javax.swing.JFrame {
	private JTextField txtNroLote;
	private JLabel lblFechaVencimiento;
	private JButton btnCancelar;
	private JButton btnAceptar;
	private JTextField txtCantidad;
	private JLabel lblCantidad;
	private JTextField txtfechaVenc;
	private JLabel lblNroLote;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				AltaDeposito inst = new AltaDeposito();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public AltaDeposito() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			{
				txtNroLote = new JTextField();
				getContentPane().add(txtNroLote);
				txtNroLote.setBounds(99, 53, 137, 22);
			}
			{
				lblNroLote = new JLabel();
				getContentPane().add(lblNroLote);
				lblNroLote.setText("Nro. Lote:");
				lblNroLote.setBounds(37, 56, 52, 16);
			}
			{
				lblFechaVencimiento = new JLabel();
				getContentPane().add(lblFechaVencimiento);
				lblFechaVencimiento.setText("Fecha Venc:");
				lblFechaVencimiento.setBounds(26, 90, 63, 16);
			}
			{
				txtfechaVenc = new JTextField();
				getContentPane().add(txtfechaVenc);
				txtfechaVenc.setBounds(99, 87, 137, 22);
			}
			{
				lblCantidad = new JLabel();
				getContentPane().add(lblCantidad);
				lblCantidad.setText("Cantidad:");
				lblCantidad.setBounds(38, 127, 51, 16);
			}
			{
				txtCantidad = new JTextField();
				getContentPane().add(txtCantidad);
				txtCantidad.setBounds(99, 127, 137, 22);
			}
			{
				btnAceptar = new JButton();
				getContentPane().add(btnAceptar);
				btnAceptar.setText("Aceptar");
				btnAceptar.setBounds(236, 213, 84, 30);
			}
			{
				btnCancelar = new JButton();
				getContentPane().add(btnCancelar);
				btnCancelar.setText("Cancelar");
				btnCancelar.setBounds(148, 213, 77, 30);
			}
			pack();
			setSize(400, 300);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
